import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Print from '@/components/Print'
import History from '@/components/History'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
      children: [
        {
          path: 'Print',
          name: 'Print',
          component: Print
        },
        {
          path: 'History',
          name: 'History',
          component: History
        }
      ]
    }
  ]
})
